package com.igeek.d0613.test2;

/**
 * @Author: zhiyu
 * @Date:17:35
 * @DESC:
 */
public class Test {
    public static void main(String[] args) {
        Account account = new Account();
        DepositThread depositThread1 = new DepositThread(account, "爸爸", 10000);
        DepositThread depositThread2 = new DepositThread(account, "妈妈", 10000);
        WithdrawThread withdrawThread3 = new WithdrawThread(account, "哥哥", 10000);
        WithdrawThread withdrawThread4 = new WithdrawThread(account, "妹妹", 10000);

        depositThread1.start();
        depositThread2.start();
        withdrawThread3.start();
        withdrawThread4.start();
    }
}
